package com.swjd.service.impl;

import com.swjd.dao.ImageMapper;
import com.swjd.dao.TypeMapper;
import com.swjd.pojo.Image;
import com.swjd.pojo.Type;
import com.swjd.service.ImageService;
import com.swjd.service.TypeService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ImageServiceImpl implements ImageService {

    @Autowired
    private ImageMapper imageMapper;

    @Override
    public int deleteByPrimaryKey(Integer imgID) {
        return 0;
    }

    @Override
    public int insert(Image record) {
        return 0;
    }

    @Override
    public int insertSelective(Image record) {
        return 0;
    }

    @Override
    public Image selectImgUrl(@Param("username") String username){
        return imageMapper.selectImgUrl(username);
    }

    @Override
    public int updateByPrimaryKeySelective(Image record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Image record) {
        return 0;
    }

}
